{%extends "base.html"%}
{%block main%}
<div id="doors">
	<!-- doors list -->
	<h2>Doors List</h2>
	<ul>
	{% for door in doors %}
	<li>
		<h3>{{ door.title }}</h3>
		<p>{{door.content}}</p>
	</li>
	{% endfor %}
	</ul>	
	<!-- door form -->
	<form action="{%url doors.views.save %}" method="post">
		<table>
		{{ form }}
		<tr><td colspan="2"><input type="submit" value="Create or Edit Door"></td></tr>
		</table>
	</form>
</div>
<div id="example">
	<h2>A Few Examples of Common Tags</h2>
	<p>This is an example of a paragraph followed by a blockquote. In posuere  eleifend odio. Quisque semper augue mattis wisi. Maecenas ligula.  Pellentesque viverra vulputate enim. Aliquam erat volutpat lorem ipsum  dolorem.</p>
	<blockquote>
		<p>Pellentesque tristique ante ut  risus. Quisque dictum. Integer nisl risus, sagittis convallis, rutrum  id, elementum congue, nibh. Suspendisse dictum porta lectus. Donec  placerat odio</p>
	</blockquote>
	<h3>Heading Level Three</h3>
	<p>This is another example of a paragraph followed by an unordered list. In posuere  eleifend odio. Quisque semper augue mattis wisi. Maecenas ligula.  Viverra vulputate enim. Aliquam erat volutpat lorem ipsum  dolorem.</p>
	<p>An ordered list example:</p>
	<ol>
		<li>List item number one</li>
		<li>List item number two</li>
		<li>List item number thre</li>
	</ol>
</div>
{%endblock%}